package com.tg.paw.ums.service;

import com.tg.paw.common.util.CommonResult;
import com.tg.paw.ums.params.PermissionButtonsParams;
import com.tg.paw.ums.params.RolePermissionParams;

/**
 * @author Rubble
 * @date 2020/10/24
 */
public interface IApiPermissionService {

    /**
     * 保存权限按钮
     * @param params
     * @return
     */
    CommonResult updatePermissionButtons(PermissionButtonsParams params);

    /**
     * 更新角色权限
     * @param params
     * @return
     */
    CommonResult updateRolePermission(RolePermissionParams params);
}
